rendernodeparser: Move EOF test into parse_declarations()
authorBenjamin Otte <otte@redhat.com>
Sun, 12 May 2019 22:59:15 +0000 (00:59 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 May 2019 22:59:15 +0000 (00:59 +0200)
commit57061ea7dfb011081298558a3655164cf83ec050
tree913981d0886e5c89ba021c3450be4871d34b4b04
parented4af4e7777f98484593f6b046d70402d2099903
rendernodeparser: Move EOF test into parse_declarations()

This way, we don't have to duplicate code.

Plus, we can ensure to clear the erroneously parsed value that should
not be used.
gsk/gskrendernodeparser.c